<?php

use yii\db\Migration;

class m171220_035222_alter_customer extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%customer}}','mechanic_id',$this->integer()->defaultValue(0)->comment('机构id'));
    }

    public function safeDown()
    {
        $this->dropColumn('{{%customer}}','mechanic_id');
    }
}
